﻿using System;
using System.Collections.Generic;
using System.Text;

public class GameDefine
{
	static public readonly int SceneType_Normal = 1;        //普通场景
	static public readonly int SceneType_CS = 2;                //副本场景
	static public readonly int SceneType_Arena = 5;           //竞技场场景
	static public readonly int SceneType_Fight = 22;		 //战斗场景

	public const int NPCStatus_CanSubmit = 1;		 //可提交任务
	public const int NPCStatus_UnComplete = 2;	    //未完成任务
	public const int NPCStatus_TaskAccept = 3;	    //可接取任务
	public const int NPCStatus_SubmitOrNoTask = 4;
	public const string TASKSTATUS_CANACCESS = "tanhao";     //spritename of tanhao
	public const string TASKSTATUS_COMPLETE = "wenhao";      //spritename of wenhao
	public const string TASKSTATUS_UNCOMPLETE = "hui_wenhao"; //spritename of grey wenhao
	
	public static bool Click_Task_One = false;
	public const string HEADPICPRE_MALE = "male";		//男头像Sprite的前缀
	public const string HEADPICPRE_FEMALE = "female";		//女头像Sprite的前缀
	
	public static bool FIRSTINITMAIN = true;//s第一次加载人物信息s
	
	public const string WINDOWPARENTTOREMOVE = "RemovedUI";
	public const bool VISIABLE = true;										//可见的//
	public const bool INVISIABLE = false;									//不可见的//
	public const bool ITEMLOCKED = true;									//背包格子是锁上的//
	public const bool ITEMUNLOCKED = false;									//背包格子不是锁上的//
	public const string SPACE_ONE = " ";									//一个空格//
	
	public const int MAXPARTNERCOUNT = 8;									//最大伙伴数量//
	public const int MAXPARTNERUSECOUNT = 3;								//最大上阵伙伴数量//
	
	public const string IDLE_ANISTR = "idle";								//待机//
	public const string NORMALACK_ANISTR = "attack";					//普通攻击//
	public const string SKILLACK_ANISTR = "skill";					//技能攻击//
	public const string BEATTACK_ANISTR = "beAttack";						//被攻击//
	public const string PROFILEIDLE_ANISTR = "profileIdle";					//侧面待机//
	public const string ANISTR_RUN = "run";					//侧面待机//
	
	public const string FIGHT_MODEL = "FightModel";							//战斗模型//

	public enum GameObjectType
	{
		GAMEOBJECT_UNKONW,   										// 未知对象
		GAMEOBJECT_PLAYER,   										// 玩家对象
		GAMEOBJECT_ITEM,   										// 玩家可获得物品
		GAMEOBJECT_EQUIP,   										// 装备(武器，服饰等）
		GAMEOBJECT_NPC,    										// 对话NPC
		GAMEOBJECT_MONSTER,   										// 有攻击性质的怪物
		GAMEOBJECT_GOLD,   										// 金币
		GAMEOBJECT_PARTNER,   										// 伙伴
		GAMEOBJECT_PET,    										// 宠物
		GAMEOBJECT_BEAUTY,   										// 美人
		GAMEOBJECT_MOUNT,   										// 坐骑
		GAMEOBJECT_TYPE_SUM,
	};
	
	public enum Sex
	{
		MALE = 0,
		FEMALE,
	}
	
	public enum Profession
	{
		MENGJIANG = 1,
		SHENSHE,
		MOUSHI,
	}
	
	public enum SceneType
	{
		MainScene = 1,
		Fuben = 2,
		Huodong = 3,
	}
	
	public enum FightInfoAttRet
	{
		FINGHTINFO_ACKRET_ATTACKE,  // 普攻击//
		FINGHTINFO_ACKRET_EVADE,   // 闪避//
		FINGHTINFO_ACKRET_BLOCK,   // 格挡//
		FINGHTINFO_ACKRET_CRIT,    // 暴击//
	};
	
	public enum BattleState
	{
		BATTLE_STATE_NORMAL,      // 正常//
		BATTLE_STATE_DIZZY,       // 眩晕//
		BATTLE_STATE_SLEEP,       // 睡眠//
		BATTLE_STATE_CONFUSE,      // 混乱//
		BATTLE_STATE_DEAD,        // 死亡//
	};

	public GameDefine ()
	{
	}
}
